package edu.zut.cs.software.perfect.base.service;

import java.io.Serializable;
import java.util.List;

import org.junit.Test;

import edu.zut.cs.software.perfect.base.domain.BaseTreeEntity;

/**
 * @ClassName GenericTreeManagerTestCase
 * @Description TODO
 * @Author liangying
 * @Date 2020年5月13日 下午4:24:57
 * @Version 1.0
 */
public abstract class GenericTreeManagerTestCase<PK extends Serializable, T extends BaseTreeEntity<T, PK>, M extends GenericTreeManager<T, PK>>
extends GenericManagerTestCase<PK, T, M> {

	public GenericTreeManagerTestCase(Class<T> persistentClass) {
		super(persistentClass);
	}
	
	@Test
	public void testGetRoot() {
		List<T> result = this.manager.getRoot();
		if (logger.isInfoEnabled()) {
			logger.info("testGetRoot() - List<T> result=" + result); //$NON-NLS-1$
		}

	}
	

}
